<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\Url;


/* @var $this yii\web\View */

//backend\assets\NewGiiAsset::register($this);

?>

<div class="bargain-create">

   <?php $form = ActiveForm::begin([
      'enableClientScript'=>false,
       'options' => ['data-ajax' => true],
       'action' => Url::to(['manage/push']),
   ]) ?>

   <?= $form->field($pmodel, 'targetNum')->textInput(['maxlength' => true,'readonly'=>true]) ?>

   <?= $form->field($pmodel, 'ids',['template'=>"{input}\n"])->hiddenInput() ?>
   <?= $form->field($pmodel, 'condition',['template'=>"{input}\n"])->hiddenInput() ?>


   <?= $form->field($pmodel, 'message_id')->dropDownList(\app\models\Message::listArray()) ?>




   <div class="form-group">
      <?= Html::submitButton('发送', ['class' => 'btn btn-success']) ?>
   </div>

   <?php ActiveForm::end() ?>

</div>